package com.twu.biblioteca;

/**
 * Created with IntelliJ IDEA.
 * User: Timmy
 * Date: 8/7/13
 * Time: 9:58 AM
 * To change this template use File | Settings | File Templates.
 */
public class Book {

    private boolean bookReserved;
    private final String bookTitle;
    private final String bookAuthor;
    private final int bookISBN;


    public Book(String bookTitle, String bookAuthor, int bookISBN) {
        this.bookTitle = bookTitle;
        this.bookAuthor = bookAuthor;
        this.bookISBN = bookISBN;
        this.bookReserved=false;
    }

    public boolean isBookReserved() {
        return bookReserved;
    }

    public void reserveBook() {
        bookReserved=true;
    }

    public String getBookTitle() {
        return bookTitle;
    }

    public int getBookISBN() {
        return bookISBN;
    }

    public String getBookAuthor() {
        return bookAuthor;
    }
}
